mobileIdleTimerLocked
Type
function
Summary
Determine whether the idleTimer is currently locked.
Syntax
mobileIdleTimerLocked()
Description
Use the mobileIdleTimerLocked command to determine whether the idleTimer is currently locked. By default, iOS and Android devices will dim the screen and eventually lock the device after periods of no user interaction. Use the mobileLockIdleTimer and mobileUnlockIdleTimer to control the idleTimer.
Examples
mobileIdleTimerLocked()
if mobileIdleTimerLocked() is true then
mobileUnlockIdleTimer
end if
Related
command: mobileLockIdleTimer, mobileUnlockIdleTimer
Compatibility and Support
Introduced
LiveCode 5.5
OS
ios
android
Platforms
mobile